package String;
import utils.*;

public class FileFilter {
	static public void main(String[] args){
		String[] filename = {"111.jpg","222.jpg","333.gif"};
		
		for(int i=0;i<filename.length;i++){
			if(filename[i].endsWith("jpg")){
				Utils.println(filename[i]);
			}
		}
	}
}
